package vista;

import java.awt.Toolkit;

import javax.swing.JFrame;

public class VentanaBotonera extends JFrame{
	
	private static final long serialVersionUID = 0L;	
	private Botonera botonera = new Botonera();
	
	public VentanaBotonera() {
		super("Ventana de Prueba");
		this.setLayout(null);
		this.setSize(460, 150);		
		this.setResizable(true);
		this.add(botonera);	
		this.setVisible(true);			
		this.setLocation((int)Math.round(Toolkit.getDefaultToolkit().getScreenSize().getWidth()/2) - this.getWidth()/2, (int)Math.round(Toolkit.getDefaultToolkit().getScreenSize().getHeight()/2) - this.getHeight()/2);;		
	}	
}